package org.example.test;

import java.util.concurrent.*;
import java.util.concurrent.locks.ReentrantLock;

public class MyTest04 {

    public static void main(String[] args) throws Exception{
        ExecutorService poolExecutor = new ThreadPoolExecutor(3, 5, 30,
                TimeUnit.SECONDS, new LinkedBlockingQueue<>(10), Executors.defaultThreadFactory(),
                new ThreadPoolExecutor.AbortPolicy());
        ReentrantLock reentrantLock = new ReentrantLock(true);
    }
}
